import parole
from parole.colornames import colors
from parole.display import interpolateRGB
import pygame, random

import sim, main
from util import *
from dungeon import makeFloor, Room, TemplateRoom
import dungeon

template = \
"""
####################################
##%##%##%##%##%##%##%##%##%##%##%###
## ## ## ## ## ## ## ## ## ## ## ###
#                                  #
## ## ## ## ## ## ## ## ## ## ## ###
##%##%##%##%##%##%##%##%##%##%##%###
####################################
"""[1:]

legend = {
    '%':    parole.map.MapObjectGenerator("", 
            lambda: sim.Obj('ancient bones', 10, parole.map.AsciiTile('%',
                colors['Ivory']),
                blockMove=False, massNoun=True, startsVowel=False),
            clearFirst=False),
    
    '#':    dungeon.rockGenerator(colors['DimGray']),
}

floorColor1 = colors['SaddleBrown']
floorColor2 = colors['BurlyWood']
floorName = 'dusty stone floor'
mixture = 0.6

diggable = [
    (0,3),
    (35, 3),
]

class Ossuary(TemplateRoom):
    def __init__(self, pos):
        TemplateRoom.__init__(self, template, legend, diggable, pos,
                floorColor1, floorColor2, mixture, floorName)


roomClass = Ossuary





